<header class="am-topbar am-topbar-inverse admin-header" style="position:fixed;left: 0;top: 0;right: 0;z-index: 100;">
    <div class="am-topbar-brand">
        <strong>大外卖</strong>
        <small>数网管理员后台</small>
    </div>
    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only"
            data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span
            class="am-icon-bars"></span></button>
    <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-left admin-header-list" ng-repeat="topbar in topbars">
        <li class="am-hide-sm-only"><a ui-sref="{{topbar.ui}}"><span class="am-icon-home am-icon-sm"></span> <span
                class="admin-fullText">{{topbar.name}}</span></a></li>
    </ul>
    <div class="am-collapse am-topbar-collapse" id="topbar-collapse">

        <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
            <li class="am-hide-sm-only"><a ui-sref="mall.order"><span class="am-icon-home am-icon-sm"></span> <span
                    class="admin-fullText">首页</span></a></li>
            <li class="am-dropdown" data-am-dropdown>
                <a style="cursor:pointer;" class="am-dropdown-toggle am-btn-primary" aria-haspopup="false" aria-expanded="false" data-toggle="dropdown">
                    <span class="am-icon-users"></span> {{manager_cookie.name}} <span
                        class="am-icon-caret-down"></span>
                </a>
                <ul class="dropdown-menu">
                    <li ng-show="shopid"><a ui-sref="mall.shopdetail({shopid:shopid})"><span class="am-icon-user">店铺详情</span></a></li>
                    <!--<li ng-show="shopid"><a ui-sref="home.manager"><span class="am-icon-cog">{{shopstatename}}</span></a></li>-->
                    <li><a ui-sref="login"><span class="am-icon-power-off">退出登录</span> </a></li>
                </ul>
            </li>
            <li class="am-hide-sm-only" style="margin-top: 15px" ng-show="shops">
                <span>切换店铺</span>
                <select ng-model="shopid" ng-change="change_shop(shopid)" style="color: #0e90d2">
                    <option ng-repeat="shop in shops" ng-selected="{{shopid == shop.shopid}}" value="{{shop.shopid}}"
                            ng-selected="selected">{{shop.name}}
                    </option>
                </select>
            </li>
            <!--<li class="am-hide-sm-only"><a ui-sref="mall.shopdetail({shopid:shopid})"><span class="am-icon-user"></span>  店铺详情</a></li>-->
            <li class="am-hide-sm-only"><a ui-sref="login"><span class="am-icon-power-off"></span> 退出登录</a></li>
        </ul>
    </div>
</header>




